package com.yikome.order.entity;

import java.math.BigDecimal;

import javax.persistence.Entity;
import javax.persistence.Index;
import javax.persistence.Table;

import com.yikome.common.BaseEntity;

import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

@Getter
@Setter
@NoArgsConstructor
@Entity
@Table(name = "o_order_product", indexes = {@Index(columnList = "orderCode")})
public class OrderProduct extends BaseEntity {

	private static final long serialVersionUID = -8193546207608726295L;

	private String orderCode ; 
	
	private Long productId ; 
	
	private String productTitle ; 
	
	private Long productSkuId ; 
	
	private String productSkuBarcode ; 
	
	private String productSkuName ; 
	
	private BigDecimal productPrice ; 
	
	private String productImageUrl ; 
	
	private Integer quantity ; 
	
	private BigDecimal productTotalPrice;
}
